package com.woniuxy.conmon.enums;

/**
 * 项目中会使用到的Redis中键的名字
 */
public interface RedisConst {
    /**
     * 品类管理
     */
    String CATEGORY_LIST = "category:list";

    /**
     * 商品类型
     */
    String GOODS_TYPE_LIST = "goodsType:list";

    /**
     * 商品列表
     */
    String GOODS_LIST = "goods:list";

    /**
     * 用户验证码
     */
    String USER_VALIDATE_CODE = "user:code";

    /**
     * 登录token前缀
     */
    String USER_TOKEN_PREFIX = "user:token";

    /**
     * 短信验证码
     */
    String SHORT_MESSAGE_SERVICE = "sms:telephone";

    /**
     * 邮箱验证码
     */
    String EMAIL_ADDRESS_PREFIX = "user:email";
    String PROVINCES = "address:provinces";
    String CITIES = "address:cities";
    String DISTRICTS = "address:areas";
    //上传的所有图片
    String UPLOAD_IMAGES = "upload:images";
    //存到数据库中的图片
    String UPLOAD_IMAGES_DB = "upload:images:db";
}
